
package org.xteam.pascal.parser.ast;

import org.xteam.parser.runtime.Span;

public class TypeReference extends Type {
	
	public org.xteam.parser.runtime.reflect.AstNodeType getNodeType() {
		return PascalAstPackage.INSTANCE.getTypeReferenceType();
	}
	
	protected Identifier name;
	
	public TypeReference(Span span, Identifier name) {
		super(span);
		this.name = name;
	}
	
	
	public Identifier getName() {
		return name;
	}
	
	public void setName(Identifier name) {
		this.name = name;
	}
	

	public void visit(IPascalVisitor visitor) {
		visitor.visitTypeReference(this);
	}
}
